From: robertl Date: Sun, 29 Aug 2010 19:45:52 +0000 (+0000) Subject: Fix crash in subrip on start of file. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~16^2~12 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6f359aa6630caac2fb1452092b2e0211acd767f6;p=gpsbabel.git Fix crash in subrip on start of file. --- diff --git a/subrip.c b/subrip.c index c347c398c..0958ccba3 100644 --- a/subrip.c +++ b/subrip.c @@ -157,7 +157,7 @@ subrip_trkpt_pr(const waypoint *waypointp) * way of solving this should be trivial to you :-) */ { - time_offset = sync_time(prevwpp->creation_time, opt_videotime); + time_offset = sync_time(waypointp->creation_time, opt_videotime); } if (prevwpp)